package com.changpeng.shake.common.exception;

import com.changpeng.shake.common.enums.ResultEnum;
import lombok.Getter;


public class VerificationException extends RuntimeException {


    @Getter
    private ResultEnum codeEnum;
    @Getter
    private String msg;


    public VerificationException(ResultEnum codeEnum, String message) {
        super(message);
        this.codeEnum = codeEnum;
        this.msg = message;
    }

    public VerificationException(String message) {
        super(message);
        this.msg = message;
    }







}
